package com.atxiaodei.kabudashejimoshi.策略模式;

/**
 * @ClassName PayState
 * @Deacription 支付完成以后的状态
 * @Author 卡布达
 * @Date 2021/10/13 21:56
 * @Version 1.0
 **/
public class PayState {

    private int code;

    private Object data;

    private String msg;

    public PayState(int code,String msg,Object data){
        this.code=code;
        this.msg=msg;
        this.data=data;
    }

    public String toString(){
        return ("支付状态：[" + code + "]," + msg + ",交易详情：" + data);
    }
}
